package main;

import java.util.ArrayList;

/**
 * 
 * @author yannis
 *
 */
public class DownloadURL {
	private String url;
	private ArrayList<StartStop>indices = new ArrayList<StartStop>();
	private String firstCharSequence;
	/**
	 * 
	 * @param url: url from path
	 */
	public DownloadURL(String url){
		this.url = url;
	}
	
	public String getUrl() {
		return url;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}
	
	/**
	 * 
	 * @return indices waar nummers kunnen worden vervangen
	 * 
	 * als lengte==0, dan is er maar 1 url mogelijk: url
	 */
	public ArrayList<StartStop> getIndices() {
		indices.trimToSize();
		return indices;
	}
	
	public void setIndices(ArrayList<StartStop> indices) {
		this.indices = indices;
	}
	
	public void addIndices(StartStop indice){
		indices.add(indice);
	}
	
	public void setFirstCharSequence(String s){
		this.firstCharSequence = s;
	}
	
	public String getFirstCharSequence(){
		return firstCharSequence;
	}
}
